package cn.wolfcode.crm.service.impl;

import cn.wolfcode.crm.domain.Gender;
import cn.wolfcode.crm.mapper.GenderMapper;
import cn.wolfcode.crm.service.IGenderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class GenderServiceImpl implements IGenderService {
    @Autowired
    private GenderMapper genderMapper;


    @Override
    public List<Gender> listAll() {
        return genderMapper.selectAll();
    }
}
